package com.gdkm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.gdkm.dao.PersonCenterDao;

import com.gdkm.po.UserManagement;
import com.gdkm.service.PersonCenterService;

@EnableTransactionManagement
@Service
public class PersonCenterServiceimpl implements PersonCenterService {

	@Autowired
    PersonCenterDao dao;
	
	public List<UserManagement> listl(String usercode) {
		// TODO Auto-generated method stub
		return dao.listl(usercode);
	}

	@Override
	public void update(UserManagement stu) {
		// TODO Auto-generated method stub
		dao.update(stu);
	}

}
